:root {
    --primary-color: #171a21;
    --secondary-color: #66c0f4;
    --text-color: #c7d5e0;
    --background-color: #1b2838;
    --card-background: #2a475e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.game-detail {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.game-header {
    position: relative;
}

.game-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.game-info {
    padding: 2rem;
}

.game-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.game-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.game-price {
    font-size: 1.5rem;
    color: #a4d007;
}

.game-rating {
    font-size: 1.5rem;
    color: #ffd700;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.game-tag {
    background-color: rgba(103, 193, 245, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.game-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.game-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.detail-label {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.game-reviews {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 2rem;
}

.review-form {
    margin: 1.5rem 0;
}

.review-form textarea {
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-color);
    padding: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 0.5rem;
}

.stars i {
    cursor: pointer;
    color: #ffd700;
    font-size: 1.2rem;
}

.stars i.fas {
    color: #ffd700;
}

#submitReview {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.review-list {
    margin-top: 2rem;
}

.review-item {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-rating {
    color: #ffd700;
}

.review-content {
    line-height: 1.5;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .game-cover {
        height: 250px;
    }

    .game-info {
        padding: 1rem;
    }

    .game-title {
        font-size: 1.5rem;
    }
} 